package com.zking.ssm.sys.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class User {
    private Long userId;

    private String username;

    private String password;

//    private String password2;

    private String salt;

    private String email;

    private String mobile;

    private Byte status;

    private Long createUserId;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createTime;

}